#pragma once

#include "../device_discover.h"
#include "../device_base.h"

class virtual_dev_discover : public device_discover
{
public:
	virtual_dev_discover(void);
	~virtual_dev_discover(void);

public:
	int discover_cd_devices(char * parameter, char device_pathes[32][256]);
	
	int enum_and_create_devices(char * parameter);

	device_base * get_device(int index);

	int get_device_number();

	int update_devices(int * removed_num, int * new_num);

	device_base * get_first_device(MK_POSITION & pos);

	device_base * get_next_device(MK_POSITION & pos);

private:
	device_base * _virtual_dev;

};
